Skip to content

Conversation

@bergemalm
Copy link
Contributor

This PR adds some missing variables in the safer-cluster modules.

  • node_pools_resource_manager_tags
  • node_pools_linux_node_configs_sysctls
  • node_pools_cgroup_mode
  • node_pools_hugepage_size_2m
  • node_pools_hugepage_size_1g
  • enable_secret_manager_addon

Closes #2369

@bergemalm bergemalm requested review from a team, apeabody and ericyz as code owners August 29, 2025 07:02
Copy link
Collaborator

@apeabody apeabody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- node_pools_resource_manager_tags
- node_pools_linux_node_configs_sysctls
- node_pools_cgroup_mode
- node_pools_hugepage_size_2m
- node_pools_hugepage_size_1g
- enable_secret_manager_addon
@bergemalm bergemalm force-pushed the safer-clusters-missing-variables branch from 95b1031 to 49f136d Compare September 3, 2025 06:46
@bergemalm
Copy link
Contributor Author

Thanks for the contribution @bergemalm

Can you please build the templates and add to the commit: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/main/CONTRIBUTING.md#templating

Done. @apeabody

@apeabody
Copy link
Collaborator

apeabody commented Sep 3, 2025

/gcbrun

@bergemalm
Copy link
Contributor Author

bergemalm commented Oct 13, 2025

Checking in on this one. Any reason for not adding this one on last release? @apeabody

@apeabody
Copy link
Collaborator

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds several new variables to the safer-cluster modules, exposing more configuration options for GKE node pools and enabling the Secret Manager addon. The changes are mostly boilerplate and have been applied across multiple generated files. I've identified a few minor issues related to formatting, ordering, and a description that could be improved for consistency and maintainability.


variable "node_pools_hugepage_size_1g" {
type = map(string)
description = "Map of strings containing hugepage size 1g config by node-pool name"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with other variable descriptions like node_pools_cgroup_mode, please add the word "node" to this description.

  description = "Map of strings containing hugepage size 1g node config by node-pool name"

@apeabody
Copy link
Collaborator

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add secrets manager config in safer-cluster

2 participants